home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / REAL Software / REALbasic Plug-ins SDK / Examples / obsolete / QTplugin / QTEffect.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-23  |  799 b   |  36 lines

  1. struct EffectData
  2. {
  3.     OSType theEffectType;
  4.     QTAtomContainer fEffectDescription;
  5. };
  6.  
  7. struct EffectSequenceData
  8. {
  9.     OSType theEffectType;
  10.     QTAtomContainer fEffectDescription;
  11.  
  12.     ImageDescriptionHandle    fSampleDescription;
  13.     ImageSequence fEffectSequenceID;
  14.  
  15.     REALpicture pic1, pic2;
  16.  
  17.     ImageDescriptionHandle fGW1Desc;
  18.     ImageDescriptionHandle fGW2Desc;
  19.     GWorldPtr fGW1, fGW2;
  20.  
  21.     Boolean fGW1owned, fGW2owned;
  22.  
  23.     TimeBase fTimeBase;
  24.     long frames;
  25.     long lastFrame, currentFrame;
  26.  
  27.     GWorldPtr fDest;
  28.     REALpicture destPicture;
  29. };
  30.  
  31. void BuildSMPTEEffect(EffectData *data, int id);
  32. void BuildCrossFadeEffect(EffectData *data);
  33.  
  34. void BuildEffectSquence(EffectSequenceData *data, EffectData *effect, REALpicture pic1, REALpicture pic2, int frames);
  35. void BuildEffectSequenceFrame(EffectSequenceData *data, int frame);
  36.